package com.tarim.wheat.model;

import java.util.Date;

public class User {
    private Long id;

    private String userName;

    private String userPassword;

    private Integer dr;

    private Date createTime;

    public User(Long id, String userName, String userPassword, Integer dr, Date createTime) {
        this.id = id;
        this.userName = userName;
        this.userPassword = userPassword;
        this.dr = dr;
        this.createTime = createTime;
    }

    public User(Long id, String userName, Date createTime) {
        this.id = id;
        this.userName = userName;
        this.createTime = createTime;
    }

    public User() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}